﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Manicure
{
    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            #region Não guardar em cache
            Page.Response.Expires = 0;
            Page.Response.ExpiresAbsolute = DateTime.Now.AddMinutes(-1);
            Page.Response.AddHeader("pragma", "no-cache");
            Page.Response.AddHeader("cache-control", "private");
            Page.Response.CacheControl = "no-cache";
            Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
            Page.Response.Cache.SetExpires(DateTime.Now.AddSeconds(0));
            #endregion


        }
    }
}